﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;

public class DataProcess
{
	public DataProcess()
	{

	}

    public static string ConnectionString
    {
        get
        {
            return ConfigurationManager.ConnectionStrings["SR"].ConnectionString;
        }
    }
    public static SqlConnection Connection
    {
        get
        {
            SqlConnection sc = new SqlConnection(ConnectionString);
            sc.Open();
            return sc;
        }
    }
}